/**
 * Created by Administrator on 2016/10/27.
 */
window.onload = function () {
    var all=document.getElementById("all");
    var list=document.getElementById("list");
    var span=document.getElementById("span");
    var btn=true;


    all.addEventListener('click',function(){
        if(btn){
            list.style.display="block";
            btn=false;
        }
        else{
            list.style.display="none";
            span.innerHtml="&#xe607;"
            btn=true;
        }
     },false)
};